import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
import { Transfer as AntdTransfer } from 'antd';
import React from 'react';
import createField from '../../../createField';
var _excluded = ['children'];
var Transfer = function Transfer(_ref) {
  var children = _ref.children,
    rest = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/ React.createElement(AntdTransfer, _objectSpread({}, rest), children);
};
export default createField(Transfer, {
  defaultFormItemProps: {
    valuePropName: 'targetKeys',
  },
});
